
/*
 * Copyright (C) 2010 Bitglue. All rights reserved.
 *
 * $Id: ScannerInterface.java bself $
 */

package com.bitglue.osgi.scan;

import com.bitglue.osgi.Plugable;

/**
 * ScannerInterface is the interface for implementing
 * scanner type process that periodically scan for resources.
 * @author Bryan Patrick Self
 */
public interface ScannerInterface {

    void setScanTarget(String scanTarget);

    void setPlugable(Plugable plugable);

    void setRecursive(boolean recursive);

    void scan();

    boolean acquireResource(String url, String leaf);

}
